/*
 * @Descripttion:
 * @Author: voanit
 * @Date: 2022-05-15 18:22:59
 * @LastEditors: voanit
 * @LastEditTime: 2022-05-16 10:00:27
 */
//
import { GET_USER_INFO } from '@/store/actionTypes'

export default function login(state = {}, action) {
  switch (action.type) {
    case GET_USER_INFO:
      return action.payload
    default:
      return state
  }
}
